/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-07-24
*/
package com.rzico.order.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <pre>
 *   虚拟商品库存数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VirtualWaterTicketVo {

    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "库存金额" )
    protected BigDecimal price;

    @ApiModelProperty(value = "可用库存" )
    protected BigDecimal stock;

    @ApiModelProperty(value = "锁定库存" )
    protected BigDecimal allocatedStock;

    @ApiModelProperty(value = "总出库" )
    protected BigDecimal totalOutStock;

    @ApiModelProperty(value = "总入库" )
    protected BigDecimal totalInStock;

    @ApiModelProperty(value = "商品" )
    protected Long productId;

    @ApiModelProperty(value = "订单" )
    protected Long orderId;

    @ApiModelProperty(value = "商品名称" )
    protected String name;

    @ApiModelProperty(value = "规格" )
    protected String spec1;

    @ApiModelProperty(value = "颜色" )
    protected String spec2;

    @ApiModelProperty(value = "缩例图" )
    protected String thumbnail;

}
